package net.oschina.arvin.admin.service;

import net.oschina.arvin.admin.model.User;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * @author Arvin
 * @time 2017/11/22 22:20
 */
public interface UserService {

    User findById(Long id);

    User findByUname(String uname);

    Page<User> queryPage(Pageable pageable);
}
